package com.syt.service.dao;


import com.syt.service.pojo.PhoneBase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author syt
 * 基础信息dao类
 */
@Mapper
public interface PhoneBaseMapper {
    int deleteByPrimaryKey(Integer baseId);

    int insert(PhoneBase record);

    int insertSelective(PhoneBase record);

    PhoneBase selectByPrimaryKey(Integer baseId);

    int updateByPrimaryKeySelective(PhoneBase record);

    int updateByPrimaryKey(PhoneBase record);

    List<PhoneBase> allListPhone();

    int deleteByName(String name);

    List<PhoneBase> classifyPhone(String name);
}